#ifndef DESCRIPTIONINFO_H
#define DESCRIPTIONINFO_H
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QJsonObject>

class DescriptionInfo
{
public:
    DescriptionInfo();

public:
    bool writeXML(const QXmlStreamWriter &writer);
    bool ReadXML(QXmlStreamReader &reader);

    QJsonObject toJson();
    void    fromJson(QJsonObject obj);
};

#endif // DESCRIPTIONINFO_H
